import * as ax from './request';

export const url = ax.url + '/op'
// export const url = ax.url

export const getMemberPeriodValidityList = (params) => {
    return ax.g(url + '/member/period/validitys', params)
}

export const getMemberPeriodValidity = (params) => {
    return ax.g(url + '/member/period/validitys/' + params.id, params)
}

export const createMemberPeriodValidity = (params) => {
    return ax.p(url + '/member/period/validitys', params)
}

export const updateMemberPeriodValidity = (params) => {
    return ax.u(url + '/member/period/validitys/' + params.id, params)
}

export const delMemberPeriodValidity = (params) => {
    return ax.d(url + '/member/period/validitys/' + params.id, params)
}
